/*!
\file GraphAccessWidget.h
\brief Contains declaration of GraphAccessWidget.
\ingroup GUI
*/

#ifndef GRAPHACCESSWIDGET_H
#define GRAPHACCESSWIDGET_H

#include<QWidget>
#include<QVBoxLayout>
#include<QHBoxLayout>
#include<QLabel>
#include<QLCDNumber>

/*!
\class GraphAccessWidget
\brief Displays how often elements of a Graph have been queried by the Algorithm running on it.
\ingroup GUI
*/

class GraphAccessWidget: public QWidget{
public:
	GraphAccessWidget( QWidget *parent = 0 );
	//!< Constructor.
	void node();
	//!< Called when the Graph is queried for a Node once.
	void edge();
	//!< Called when the Graph is queried for an Edge once.
private:
	QVBoxLayout *m_layout;
	QLCDNumber *m_nodes;
	QLCDNumber *m_edges;
	QLCDNumber *m_total;
};

#endif

